package controller

import (
	"github.com/gin-gonic/gin"

	"simple_oa/models"
	"simple_oa/utils/resp"
)

func IndexHandler(c *gin.Context) {
	resp.ApiResponse(c, []models.Staff{
		{Name: "张三", SysNo: "600860", Mobile: "15955146767"},
		{Name: "李四", SysNo: "600861", Mobile: "15955146768"},
		{Name: "王五", SysNo: "600862", Mobile: "15955146769"},
		{Name: "周身", SysNo: "600863", Mobile: "15955146760"},
	})
}
